package com.cnstrong.webview2

class Constant {
    companion object {
        //jsbridge config
        const val SCHEME: String = "hybrid"
        const val ACTION_PRE = "cnstrong.hybrid." //配置是intent-filter中的action的前缀

        const val VERSION_HOST = "http://h5.qa.costrong.com"
        const val FILE_HYBRID_DATA_VERSION = "hybrid_data_version"
        const val FILE_HYBRID_DATA_PATH = "hybrid_webapp"
        const val JSInterface = "HybridJSInterface"


        //forward
        const val INTENT_EXTRA_KEY_ANIMATION = "intent_extra_key_animation"
        const val INTENT_EXTRA_KEY_TO_PAGE = "intent_extra_key_to_page"
        const val INTENT_EXTRA_KEY_HAS_NAVIGATION = "intent_extra_key_has_navigation"

        const val GET_PARAM = "param"
        const val GET_CALLBACK = "callback"

        // network error file path
        const val NO_NETWORK_ERROR_URL: String = "file:///android_asset/www/no_network_error.html"

        // 腾讯TBS_X5浏览器内核DEBUG网址
        const val TBS_X5_URL = "http://debugtbs.qq.com/"
    }
}